package com.lovo.sgproj.bean;

import java.util.ArrayList;
import java.util.Date;

public class RoomBean {
    private int roomID;
    private String address;
    private int maxpeople;//可容纳人数
    private int peoplenow;//已住人数
    private double rent;//租金
    private String owner;
    private boolean roomstatus;//房间状态：true正常；false损坏
    private String roomshape;
    private boolean roomtype;//房间类型：true男；false女
    private String pay;//支付方式
    private String ownerphone;
    private Date roomdate;

    private ArrayList<StudentBean> stuLst = new ArrayList<>();

    public RoomBean() {

    }

    public int getRoomID() {
        return roomID;
    }

    public void setRoomID(int roomID) {
        this.roomID = roomID;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getMaxpeople() {
        return maxpeople;
    }

    public void setMaxpeople(int maxpeople) {
        this.maxpeople = maxpeople;
    }

    public int getPeoplenow() {
        return peoplenow;
    }

    public void setPeoplenow(int peoplenow) {
        this.peoplenow = peoplenow;
    }

    public double getRent() {
        return rent;
    }

    public void setRent(double rent) {
        this.rent = rent;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public boolean getRoomstatus() {
        return roomstatus;
    }

    public void setRoomstatus(boolean roomstatus) {
        this.roomstatus = roomstatus;
    }

    public String getRoomshape() {
        return roomshape;
    }

    public void setRoomshape(String roomshape) {
        this.roomshape = roomshape;
    }

    public boolean getRoomtype() {
        return roomtype;
    }

    public void setRoomtype(boolean roomtype) {
        this.roomtype = roomtype;
    }

    public String getPay() {
        return pay;
    }

    public void setPay(String pay) {
        this.pay = pay;
    }

    public String getOwnerphone() {
        return ownerphone;
    }

    public void setOwnerphone(String ownerphone) {
        this.ownerphone = ownerphone;
    }

    public Date getRoomdate() {
        return roomdate;
    }

    public void setRoomdate(Date roomdate) {
        this.roomdate = roomdate;
    }

    public ArrayList<StudentBean> getStuLst() {
        return stuLst;
    }

    public void setStuLst(ArrayList<StudentBean> stuLst) {
        this.stuLst = stuLst;
    }

    @Override
    public String toString() {
        return address;
    }
}
